package com.fdk.wms.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.fdk.wms.entity.Book;


@Mapper
public interface BookMapper {

    public List<Book> findAllBooks();

    public Book findBookById(Integer id);

    public void insertBook(Book book);

    public void updateBook(Book book);

    public void deleteBook(Integer id);

    public List<Book> searchBooks(Book book);
}
